getApplicationLocales

@NonNull
open fun getApplicationLocales(@NonNull context: @NonNull Context): @NonNull LocaleListCompat(source)

Returns application locales for the calling app as a LocaleListCompat. This API for non-androidx.appcompat.app.AppCompatDelegate context to easily get the per-app locale on the prior API 33 devices.

Returns a getEmptyLocaleList if no app-specific locales are set.